package icu.qx.pro.feign;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import icu.qx.pro.domain.gbs.GbsBomMaterial;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
@FeignClient(name = "yyj-mes-gbs", contextId = "pro-gbs")
public interface GbsBomMaterialFeign {
    /**
     * 查询物料配件列表
     */
    @GetMapping("/gbs/bomMaterial/list")
    public AjaxResult list(@RequestParam("bmBomCode") String bmBomCode, @RequestParam("bmBomVersion") String bmBomVersion);
}
